/**
 * @param {number[]} nums
 * @return {string}
 */
 var minNumber = function(nums) {
    nums.sort((a,b)=>{
        let ab= a+''+b;
        let ba= b+''+a;
        return ab - ba;
    });
    return nums.join('');
};
console.log(minNumber([128,12,320,32]))